FROM adoptopenjdk/openjdk11:centos

#设置时区
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

#复制应用
ADD ./xzjx-mom-server/jcfk-platform-modules/jcfk-system-core/target/jcfk-system-core-1.2.0.jar /jcfk-system-core.jar

ENTRYPOINT ["java","-jar","/jcfk-system-core.jar"]